import { magicPost } from "./server"
export function login(data: any): Promise<MagicSelfInterfaceRes> {
  return magicPost('/magic/oauth/login', data) as any
}
export function logout(data: any): Promise<MagicSelfInterfaceRes> {
  return magicPost('/magic/oauth/logout', data) as any
}
export function getMenuList(data: any): Promise<MagicSelfInterfaceRes> {
  return magicPost('/magic/oauth/get-page-privilege', data) as any
}
export function getSystemList(data: any): Promise<MagicSelfInterfaceRes> {
  return magicPost('/magic/oauth/get-sys-privilege', data) as any
}